<script setup name="App">
    import { ref } from 'vue'
     let name = ref('geyao')
          let age= ref(18)
          let sex= '男'
    </script>
    
    <template>
         <div>{{ name }}</div>
         <div>{{ age }}</div>
         <div>{{ sex }}</div>
         <button @click="name='geyaosinice'">修改姓名</button>
         <button @click="age=19">修改年龄</button>
         <button @click="sex='女'">修改性别</button>
    </template>
    
    <style scoped>
    
    </style>
    
    
    
    
    